home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / Libraries / SAT 2.4.0 / SAT / Add-ons / Graphic effects / Headers / GammaFade.h < prev    next >
Encoding:
Text File  |  1997-02-21  |  543 b   |  17 lines  |  [TEXT/KAHL]

  1. //• GammaFade;
  2. // Fading the screen using the gamma table.
  3. // See GammaFade.p for additional instructions.
  4.  
  5. // Old interface, a bit clumsy in my opinion.
  6. pascal Boolean IsGammaAvailable();
  7. pascal Boolean IsOneGammaAvailable(GDHandle theGDevice);
  8. pascal OSErr SetupGammaTools();
  9. pascal OSErr DisposeGammaTools();
  10. pascal OSErr DoGammaFade(short percent);
  11. pascal OSErr DoOneGammaFade(GDHandle theGDevice, short percent);
  12.  
  13. // Simplified interface. This is all you need!
  14. pascal void FadeToBlack(long ticks);
  15. pascal void FadeFromBlack(long ticks);
  16.  
  17.